package com.aplikata.evok.bo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.aplikata.bo.User;

/**
 * @ClassName: PatientQtnaire
 * @Description: TODO
 * @author Huyun
 * @date 15. 5. 2012. 13:58:55
 */
public class PatientQtnaire implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private User user;
	private PatientTherapy patientTherapy;
	private Qtnaire qtnaire;
	private Date createTime;
	private Date operTime;
	private String remark;
	private Set<PatientQtnaireNotice> patientQtnaireNotices = new HashSet<PatientQtnaireNotice>(0);
	private Set<PatientQtnaireResult> patientQtnaireResults = new HashSet<PatientQtnaireResult>(0);
	
	public final static String QY_FIND_BY_THERAPY = "PatientQtnaire.findByTherapy";

	// Constructors

	/** default constructor */
	public PatientQtnaire() {
	}

	/** minimal constructor */
	public PatientQtnaire(User user, PatientTherapy patientTherapy, Qtnaire qtnaire) {
		this.user = user;
		this.patientTherapy = patientTherapy;
		this.qtnaire = qtnaire;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public PatientTherapy getPatientTherapy() {
		return patientTherapy;
	}

	public void setPatientTherapy(PatientTherapy patientTherapy) {
		this.patientTherapy = patientTherapy;
	}

	public Qtnaire getQtnaire() {
		return qtnaire;
	}

	public void setQtnaire(Qtnaire qtnaire) {
		this.qtnaire = qtnaire;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getOperTime() {
		return this.operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<PatientQtnaireNotice> getPatientQtnaireNotices() {
		return patientQtnaireNotices;
	}

	public void setPatientQtnaireNotices(Set<PatientQtnaireNotice> patientQtnaireNotices) {
		this.patientQtnaireNotices = patientQtnaireNotices;
	}

	public Set<PatientQtnaireResult> getPatientQtnaireResults() {
		return patientQtnaireResults;
	}

	public void setPatientQtnaireResults(Set<PatientQtnaireResult> patientQtnaireResults) {
		this.patientQtnaireResults = patientQtnaireResults;
	}

}